package com.hmy.finance.api.bo.core.request.receiptOffset;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


@Data
public class ContactorApportionsQueryRequest implements Serializable {

    /**
     * 客户id
     */
    @NotNull(message = "客户id不能为空")
    private Long customerId;

    /**
     * 客户name
     */
    @NotNull(message = "客户name不能为空")
    private String customerName;

    /**
     * 总分摊金额
     */
    @NotNull(message = "总分摊金额不能为空")
    private BigDecimal totalApportionAmount;

    /**
     * 联系人分摊信息
     */
    @NotNull(message = "联系人分摊信息不能为空")
    List<ContactorApportionInfoRequest> contactorApportions;

}
